package org.jeecg.modules.post.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 企业岗位
 * @Author: jeecg-boot
 * @Date:   2024-07-10
 * @Version: V1.0
 */
@Data
@TableName("gw_post")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="gw_post对象", description="企业岗位")
public class GwPost implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    /**岗位名称*/
    @Excel(name = "岗位名称", width = 15)
    @ApiModelProperty(value = "岗位名称")
    private String postName;
    /**岗位标签（标签之间逗号分割）*/
    @Excel(name = "岗位标签（标签之间逗号分割）", width = 15)
    @ApiModelProperty(value = "岗位标签（标签之间逗号分割）")
    private String postTags;
	/**岗位工作内容*/
	@Excel(name = "岗位工作内容", width = 15)
    @ApiModelProperty(value = "岗位工作内容")
    private String postDescription;
	/**岗位薪资*/
	@Excel(name = "岗位薪资", width = 15)
    @ApiModelProperty(value = "岗位薪资")
    private BigDecimal postSalary;
	/**技能要求*/
	@Excel(name = "技能要求", width = 15)
    @ApiModelProperty(value = "技能要求")
    private String postSkill;
	/**招聘期限*/
	@Excel(name = "招聘期限", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "招聘期限")
    private Date postPeriodTime;
    /**岗位薪资上限*/
    @Excel(name = "岗位薪资上限", width = 15)
    @ApiModelProperty(value = "岗位薪资上限")
    private BigDecimal postSalaryMax;
    /**最高工作年限*/
    @Excel(name = "最高工作年限", width = 15)
    @ApiModelProperty(value = "最低工作年限")
    private Integer workYearsMin;
    /**最高工作年限*/
    @Excel(name = "最高工作年限", width = 15)
    @ApiModelProperty(value = "最高工作年限")
    private Integer workYearsMax;
    /**学历要求*/
    @Excel(name = "学历要求", width = 15)
    @ApiModelProperty(value = "学历要求")
    private String qualification;
}
